<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>上架</title>
</head>
<body>

<form th:action="@{/shelves}" method="post" enctype="multipart/form-data">
    <input type="text" name="goodsName" placeholder="请输入商品名"><br>
    <input type="text" name="goodsPrice" placeholder="请输入商品价格"><br>
    <input type="text" name="number" placeholder="请输入商品库存"><br>
    <input type="file" name="photo"><br>
    <input type="submit" value="上架">
</form>
</body>
</html>